package zktest;

import java.io.File;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import locking.LockingExample;

public class CuratorDemo1 {
	private static final Logger Log = LoggerFactory.getLogger(CuratorDemo1.class) ;
	public static void main(String[] args) throws Exception {
		Log.error("abc");
		A a = new A() {
			{
				System.out.println("C1121");
			}
		};
		// new LockingExample().main(args) ;
//		File fakeConfigFile = File.createTempFile("temp", "temp");
//		System.out.println(fakeConfigFile.getAbsolutePath());
		try {
			int a1 = 1/10 ;
		} catch (Exception e) {
			Log.error("Error ",e);
		}		
		System.out.println(Log.getClass().getName());
		
		
	}
}

class A {
	public A() {
		System.out.println("from A");
	}
}